package com.chat.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class ChatMsg {
    private String senduserid;

    private String reciveuserid;

    private Date sendtime;

    private String msgtype;

    private String sendtext;

    public String getSenduserid() {
        return senduserid;
    }

    public void setSenduserid(String senduserid) {
        this.senduserid = senduserid;
    }

    public String getReciveuserid() {
        return reciveuserid;
    }

    public void setReciveuserid(String reciveuserid) {
        this.reciveuserid = reciveuserid;
    }

    public Date getSendtime() {
        return sendtime;
    }

    public void setSendtime(Date sendtime) {
        this.sendtime = sendtime;
    }

    public String getMsgtype() {
        return msgtype;
    }

    public void setMsgtype(String msgtype) {
        this.msgtype = msgtype;
    }

    public String getSendtext() {
        return sendtext;
    }

    public void setSendtext(String sendtext) {
        this.sendtext = sendtext;
    }
}